package com.itfreer.notice;

import javax.ws.rs.Path;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.itfreer.form.api.BaseRestService;
import com.itfreer.form.api.BaseService;

/**
 * 定义通知接口
 */
@Component
@Path("/notice/")
public class RestNoticeService extends BaseRestService<NoticeEntity> {
	
	@Autowired
	private NoticeService noticeService;

	@Override
	protected BaseService<NoticeEntity> getService() {
		return noticeService;
	}

	@Override
	protected String getServiceName() {
		return "notice";
	}
}